package com.power.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
    * 购物车
    */
@ApiModel(value="com-power-commonbase-domain-Basket")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Basket implements Serializable {
    /**
    * 主键
    */
    @ApiModelProperty(value="主键")
    private Long basketId;

    /**
    * 店铺ID
    */
    @ApiModelProperty(value="店铺ID")
    private Long shopId;

    /**
    * 产品ID
    */
    @ApiModelProperty(value="产品ID")
    private Long prodId;

    /**
    * SkuID
    */
    @ApiModelProperty(value="SkuID")
    private Long skuId;

    /**
    * 用户ID
    */
    @ApiModelProperty(value="用户ID")
    private String openId;

    /**
    * 购物车产品个数
    */
    @ApiModelProperty(value="购物车产品个数")
    private Integer prodCount;

    /**
    * 购物时间
    */
    @ApiModelProperty(value="购物时间")
    private Date createTime;

    private static final long serialVersionUID = 1L;
}